<?php get_header(); ?>
<?php include 'main-menu.php'; ?>
<div class="container group">

   <?php get_sidebar(); ?>
   <div class="main-container">
      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
            <div class="entry">
               <?php the_content(); ?>
               <?php
               include 'my-config.php';
               $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
               $args = array(
                   'post_status' => 'publish',
                   'category__in' => array($shop_hung_thao_category_id),
                   'paged' => $paged,
               );
               $query = new WP_Query($args);
//         echo $query->request;exit;
               while ($query->have_posts()) : $query->the_post();
                  ?>
                  <div class="item">
                     <?php the_post_thumbnail(array(211, 211, 'class' => ' img-intro')) ?>
                     <img class="item-bg" src="<?php bloginfo('template_url') ?>/skin1/images/item-ao-doi-bg.png" alt="#" />
                     <p class="item-info" style="bottom: 13px">
                        <?php
                        $ma_so = get_post_meta(get_the_ID(), "Mã số", true);
                        $gia = get_post_meta(get_the_ID(), "Giá", true);
                        ?>
                        <span class="ma-so">Mã số: <?php echo $ma_so ?></span><br />
                        <span class="ma-so">Giá: <?php echo $gia ?></span>
                     </p>
                     <?php edit_post_link('Edit', '<p>', '</p>'); ?>
                  </div>
                  <?php
               endwhile;
               wp_reset_postdata();
               ?>
               <?php include 'inc/nav.php'; ?>
               <?php edit_post_link('Edit Page', '<p class="edit-page">', '</p>'); ?>
            </div>
            <?php
         endwhile;
      endif;
      ?>
   </div>
   <!--main-container-->
</div>
<?php get_footer(); ?>